package com.faith.timefloating;

import java.util.ArrayList;

import android.app.Application;
import android.content.SharedPreferences;

import com.faith.timefloating.myutils.Constants;

public class MyApplication extends Application {
	private static SharedPreferences sharedPreference;
	public static ArrayList<String> chatContents=new ArrayList<String>();
	@Override
	public void onCreate() {
		super.onCreate();
		sharedPreference = getSharedPreferences(Constants.SHARED_NAME,MODE_PRIVATE);

	}

	public static SharedPreferences getSharedPreferences() {
		return sharedPreference;
	}
}
